package com.work.saturn.bean;

import com.immo.libcommon.base.BaseBean;

/**
 * @author Administrator
 * @content 注册Bean
 * @date 2018/7/10
 */
@SuppressWarnings("unused")
public class RegisterBean extends BaseBean {


    /**
     * payload : {"username":"18505234561","role":"user","email":"","phone":"","id":"84c5da0a-1a62-4396-b9ed-b42cd2b6314a","canCreateNewToken":false,"wallet":{},"txId":"7d402b8400ecca98ef6d16772ad39917184dc9c6286fab048230d6d07faf605d","blockNum":"135"}
     */

    private PayloadBean payload;

    public PayloadBean getPayload() {
        return payload;
    }

    public void setPayload(PayloadBean payload) {
        this.payload = payload;
    }

    public static class PayloadBean {
        /**
         * username : 18505234561
         * role : user
         * email :
         * phone :
         * id : 84c5da0a-1a62-4396-b9ed-b42cd2b6314a
         * canCreateNewToken : false
         * wallet : {}
         * txId : 7d402b8400ecca98ef6d16772ad39917184dc9c6286fab048230d6d07faf605d
         * blockNum : 135
         */

        private String username;
        private String role;
        private String email;
        private String phone;
        private String id;
        private boolean canCreateNewToken;
        private WalletBean wallet;
        private String txId;
        private String blockNum;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isCanCreateNewToken() {
            return canCreateNewToken;
        }

        public void setCanCreateNewToken(boolean canCreateNewToken) {
            this.canCreateNewToken = canCreateNewToken;
        }

        public WalletBean getWallet() {
            return wallet;
        }

        public void setWallet(WalletBean wallet) {
            this.wallet = wallet;
        }

        public String getTxId() {
            return txId;
        }

        public void setTxId(String txId) {
            this.txId = txId;
        }

        public String getBlockNum() {
            return blockNum;
        }

        public void setBlockNum(String blockNum) {
            this.blockNum = blockNum;
        }

        static class WalletBean {
        }
    }
}
